package sysAuth

class SysFunOpt {

    SysFunctions function;
    SysOperations operate;
    String action;
    int state = 1

    static constraints = {
        function(nullable: false,blank: false,unique: "operate" )
        operate(nullable: false,blank: false)
        action(nullable:true)
        state(inList: [1,0])
    }
    static mapping = {
        version false
    }

}
